package taskit.gui;

import java.util.logging.Level;
import java.util.logging.Logger;

import taskit.test.Log;
import javafx.application.Application;
import javafx.stage.Stage;

//@author A0098710B
public class GUI extends Application {
	
	public static void main(String[] args) 
	{
		Log.add("GUI.java: Starting application...");
		Application.launch(GUI.class, (java.lang.String[]) null);	
	}
	
	/**
	 * Overridden start method
	 * 
	 */
	@Override
	public void start(Stage primaryStage) 
	{	
		try {
			GUIController.stagePrimary = primaryStage;
			GUIController.currentTheme = "mountain.css";   
			GUIController.initStagePrimary();
		} catch (Exception ex) {
			Logger.getLogger(GUI.class.getName()).log(Level.SEVERE, null,
					ex);
		}
	}
}